package com.neo.base.functionProgram

/**
  * Created by hadoop on 6/16/17.
  */
object lambalaTest {
  def main(args: Array[String]): Unit = {
    var factor = 2
    val multiplier = {(i: Int) => i * factor}
    println(multiplier(5))
  }

}
